file(GLOB_RECURSE HEARD ./*.h)
file(GLOB_RECURSE SOURCE ./*.cpp)

SET(PROJNAME "TimeSegment")

include_directories(../Base)

source_group("Header Files" FILES ${HEARD} ${OTHER_INCLUDE})
source_group("Source Files" FILES ${SOURCE} ${OTHER_SRC})


#共享DLL中使用 MFC  
#ADD_DEFINITIONS(-D_AFXDLL)  
#SET(CMAKE_MFC_FLAG 2) #设置CMAKE_MFC_FLAG为2,0表示使用标准的MFC，1表示静态MFC,2表示共享  
add_executable(${PROJNAME} ${HEARD} ${SOURCE})
TARGET_LINK_LIBRARIES(${PROJNAME} BaseTool Qt5::Core)